import tesserocr
from PIL import Image
image_to_parse=Image.open("test.png")
text_result=tesserocr.image_to_text(image_to_parse)
print(text_result)